package spring.dao.impl;

import org.springframework.stereotype.Component;
import spring.dao.UserDao;
import spring.entity.User;

/**
 * @author 吴阳基
 * @datetime 2024/1/9 13:54
 */
@Component("userDao")
public class UserDaoImpl implements UserDao {
    @Override
    public int save(User user) {
        System.out.println("保存用户信息到数据库");
        return 1;
    }
}
